package org.example.code.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.code.domain.SysAuthCode;

public interface CodeMapper {

    void saveCode(SysAuthCode sysAuthCode);

    SysAuthCode findCodeByEmailAndCode(@Param("email") String email, @Param("code") String code);

    int updateStatus(String code);
}
